package com.itheima.Day0611.Demo01.demo02;

public class Test01 {
    public static void main(String[] args) {
        Zi z = new Zi();
        z.makemoney();
    }


}
class Fu{
    public void makemoney(){
        System.out.println("一个月3000");
    }
}

class Zi extends Fu{
    public void makemoney(){
        super.makemoney();
        System.out.println("一个月12000");
    }
}
